.class Lcom/waiqin365/base/login/cr;
.super Landroid/content/BroadcastReceiver;


# instance fields
.field final synthetic a:Lcom/waiqin365/base/login/LoginMainActivity;


# direct methods
.method private constructor <init>(Lcom/waiqin365/base/login/LoginMainActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/login/cr;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/waiqin365/base/login/LoginMainActivity;Lcom/waiqin365/base/login/at;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/login/cr;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 3

    sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;

    const-string/jumbo v1, "========login main on new message"

    invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    const-string/jumbo v0, "from"

    invoke-virtual {p2, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    const-string/jumbo v0, "msgid"

    invoke-virtual {p2, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/cr;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    # getter for: Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;
    invoke-static {v1}, Lcom/waiqin365/base/login/LoginMainActivity;->access$2000(Lcom/waiqin365/base/login/LoginMainActivity;)Landroid/os/Handler;

    move-result-object v1

    if-eqz v1, :cond_0

    new-instance v1, Landroid/os/Message;

    invoke-direct {v1}, Landroid/os/Message;-><init>()V

    const/16 v2, 0x138

    iput v2, v1, Landroid/os/Message;->what:I

    iput-object v0, v1, Landroid/os/Message;->obj:Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/base/login/cr;->a:Lcom/waiqin365/base/login/LoginMainActivity;

    # getter for: Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;
    invoke-static {v0}, Lcom/waiqin365/base/login/LoginMainActivity;->access$2000(Lcom/waiqin365/base/login/LoginMainActivity;)Landroid/os/Handler;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    :cond_0
    return-void
.end method
